<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%@page language="java" import="com.opensymphony.xwork2.ActionContext" %>
<%@page language="java" import="db_tool.GetSqlSession" %>
<%@page language="java" import="org.apache.ibatis.session.SqlSession" %>
<%@page import="tree_util.Account" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="edge"/>
    <meta name="author" content="Daliu"/>
    <meta name="keywords" content="长江上游珍稀特有鱼类保护信息管理系统、长江上游、珍稀特有鱼类、保护信息"/>
    <meta name="describe" content="长江上游珍稀特有鱼类保护信息管理系统"/>
    <title>长江上游珍稀特有鱼类保护信息管理系统</title>
    <link href="css/user.css" rel="stylesheet"/>
    <link href="css/jstree.min.css" rel="stylesheet"/>
    <link href="css/main.css" rel="stylesheet"/>
    <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
    <script type="text/javascript" src="js/jquery-1.12.3.min.js"></script>
    <script type="text/javascript" src="js/user.js"></script>
    <script type="text/javascript" src="js/jstree.min.js"></script>
    <script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
</head>

<body>
<%
    response.setCharacterEncoding("UTF-8");
%>
<a class="nav-menu-list" id="user_name"
   style="display:none"><%=((Account) session.getAttribute("account")).getUsername() %>
</a>
<div class="article">
    <div id="tree-outer">
        <div id="tree"></div>
    </div>


    <div id="tree-table">
        <div id="node-text">
        </div>
        <div id="tree-menu">
            <button id="add-child-node1" class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span>&nbsp增加单位
            </button>
            <button id="add-child-node2" class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span>&nbsp增加课题组
            </button>
            <button id="add-child-node3" class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span>&nbsp增加学生
            </button>
            <!--<button id="pre-update-data"class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span>&nbsp更新当前信息</button>-->
            <button id="delete-node1" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span>&nbsp删除单位
            </button>
            <button id="delete-node2" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span>&nbsp删除课题组
            </button>
            <button id="delete-node3" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span>&nbsp删除学生
            </button>
        </div>
        <div id="input-place">
            <div id="add-monitsite" class="add-data">
                <div class="context5">
                    <div class="float-left1">
                        <span>用户名	:&nbsp</span><br>
                        <span>密码:&nbsp</span><br>

                        <div id="mes-right1">
                            <span>联系方式:&nbsp</span><br>
                            <span>Email:&nbsp</span><br>
                        </div>

                    </div>
                    <div class="float-left2">
                        <input type="text" id="username"><font>&nbsp*</font></input><span id="user_error"
                                                                                          style="color:red"></span><br>
                        <input type="password" id="password"><font>&nbsp*</font></input><span id="pas_error"
                                                                                              classs="error"
                                                                                              style="color:red"></span><br>
                        <div id="mes-right2">
                            <input type="text" id="tel"><font>&nbsp*</font></input><span id="tel_error" classs="error"
                                                                                         style="color:red"></span><br>
                            <input type="text" id="email"><font>&nbsp*</font></input><span id="email_error"
                                                                                           classs="error"
                                                                                           style="color:red"></span><br>
                        </div>
                    </div>

                    <div id="default">
                        <div class="float-left3">
                            <span>身份:&nbsp</span><br>
                            <span>用户状态:&nbsp</span><br>
                            <span>上级:&nbsp</span><br>
                            <span>角色:&nbsp</span><br>
                        </div>
                        <div class="float-left2">
                            <input type="text" id="identify"><font>&nbsp*</font></input><br>
                            <select id="selector">
                                <option value="yes">正常</option>
                                <option value="no">待审核</option>
                            </select> <span id="active_error" classs="error"
                                            style="color:red"></span><font>&nbsp*</font><br>
                            <input type="text" id="superior"><font>&nbsp*</font></input><br>
                            <input type="text" id="roleName"><font>&nbsp*</font></input><br>
                        </div>


                    </div>

                </div>
            </div>
            <button style="margin-left:40%" id="update-data" class="btn btn-primary">确定</button>
            <button style="margin-left:40%" id="new-data" class="btn btn-primary">确认修改</button>
        </div>

    </div>
</div>
<div class="footer">
			<span class="info">用户名：User &nbsp当前IP：220.249.99.152
				&nbsp登录时间：2016-04-21 09:47</span> <span class="copyright">CopyRight©中国水产科学研究院长江水产研究所2015-2016
				&nbsp&nbsp技术支持：华中农业大学</span>
</div>
</div>

</body>
</html>